package guichatapplication;

import javax.swing.ImageIcon;

public class MessageListCell {
    private int position; // -1: left, 0: time in center, 1: right
    private String message;
    private ImageIcon icon;
    
    public MessageListCell(int position, String message){
        if(position == -1){
            
        }else if(position ==0){
            
        }else{
            
        }
        this.position=position;
        this.message=message;
    }
    
    public int getPosition(){
        return position;
    }
    
    public String getMessage(){
        return message;
    }     
    
    public ImageIcon getImage(){
        return icon;
    }
}
